<!DOCTYPE html>
<html class="<?php print $class; ?>">
	
<head>
	<title><?php print $title; ?></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	
	<?php if(isset($meta) && is_array($meta)): ?>
    <?php foreach($meta as $name => $content): ?>
    <meta name="<?php print $name; ?>" content="<?php print $content; ?>" />
    <?php endforeach; ?>
    <?php endif; ?>
	
    <link rel="stylesheet" type="text/css" media="screen" href="/assets/styles/bootstrap.css" />
	<link rel="stylesheet" type="text/css" media="screen" href="/assets/styles/responsive.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="/assets/styles/front.css" />
	<?php echo front()->jquery()->core(); ?>
	<?php echo front()->jquery()->jqueryui('redmond'); ?>
</head>

<body>
	<div class="page">
		<div class="head"><?php echo $head; ?></div>
		<div class="body"><?php echo $body; ?></div>
		<div class="foot well"><?php echo $foot; ?></div>
    </div>
	<script type="text/javascript" src="/assets/scripts/bootstrap.js"></script>
</body>
</html>
